var miniExcludes = {
		"dgrid/CHANGES.md": 1,
		"dgrid/LICENSE": 1,
		"dgrid/README.md": 1,
		"dgrid/package": 1
	},
	isTestRe = /\/test\//;

var profile = {

    layers: {
        "dojo/dojo": {
            include: [
					"dojo/dojo",
					"dojo/_base/array",
					"dojo/data/ItemFileWriteStore",
					"dojo/domReady",
					"dojo/dom",
					"dojo/i18n",
					"dojo/ready"
				],
            customBase: true,
            boot: true
        },
        "dgrid/main": {
            include: [
					"dgrid/Grid",
					"dgrid/List",
					"dgrid/GridFormHtml",
					"dgrid/OnDemandGrid",
					"dgrid/OnDemandList"
				]
        }
    },
	 
	resourceTags: {
		test: function(filename, mid){
			return isTestRe.test(filename);
		},

		miniExclude: function(filename, mid){
			return /\/(?:test|demos)\//.test(filename) || mid in miniExcludes;
		},

		amd: function(filename, mid){
			return /\.js$/.test(filename);
		}
	}
};